@extends('layouts.application')

@section('content')
    <div class="admin-content">
        <div class="admin-content-body">
            <div class="am-cf am-padding am-padding-bottom-0">
                <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">新增奖项</strong> /
                    <small>Create A New Trophy</small>
                </div>
            </div>

            <hr>

            <form class="am-form" action="{{route('wechat.draw.store')}}" method="post">

                {{csrf_field()}}
                @include('layouts.shared._flash')

                 
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">奖项名称</div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        <input type="text" name="name" class="am-input-sm">
                    </div>
                </div>

                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">中奖概率</div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        <input type="text" name="weight" class="am-input-sm">
                    </div>
                </div>

                <div class="am-g am-margin-top-sm">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">奖品</div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        <input type="text" name="prize" class="am-input-sm">
                    </div>
                </div>

                <div class="am-margin am-u-lg-push-1">
                    <button type="submit" class="am-btn am-btn-primary am-btn-xs">提交保存</button>
                    <a href="{{Route('wechat.draw.index')}}" class="am-btn am-btn-primary am-btn-xs">放弃保存</a>
                </div>
            </form>

        </div>

    </div>
@endsection

@section('js')
    <script>

    </script>
@endsection